<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>测试</title>
</head>
<p id="show"></p>
<body>
	<script src="../c_modules/jquery.min.js"></script>
	<script src="../c/TZT.js"></script>
	<script>
		$(document).ready(function(){
		  $('#show').text(getUrlParam("data"));
		});


		function getUrlParam(name) {  
		    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); // 构造一个含有目标参数的正则表达式对象  
		    var r = window.location.search.substr(1).match(reg);  // 匹配目标参数  
		    if (r != null) 
		    	return unescape(r[2]); 
		    return null; // 返回参数值  
		}  
	</script>
</body>
</html>